package com.carl.service.impl;

import com.carl.model.Medal;
import com.carl.mapper.MedalMapper;
import com.carl.service.MedalService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class MedalServiceImpl extends ServiceImpl<MedalMapper, Medal> implements MedalService {


    @Autowired
    private MedalMapper medalMapper ;

    @Override
    public List<Medal> listMedalInfoByGroupId(Long groupId) {
        return medalMapper.listMedalInfoByGroupId(groupId);
    }

}
